<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo Yii::app()->params["app"]["name"] ?>，我的云盘！ 爱分享 云生活</title>
<link rel="stylesheet" type="text/css" href="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/css/style.css?v=<?php echo(Yii::app()->params['app']['version'])?>" media="all" /> 
<script type="text/javascript">document.domain=window.location.host;</script>
<script src="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web//js/jquery_min.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web//js/util.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web//setting/js/tip.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web//setting/js/common_set_validate.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>

</head>
<body>
<script type="text/javascript" src="/<?php echo(Yii::app()->params['app']['host'])?>/statics/web//js/ylmf_area.js?v=<?php echo(Yii::app()->params['app']['version'])?>"></script>
<div class="s-con privacy-setting dy-show back-input">
    <form method="post" action="?ct=account&ac=update_user_info&step=5" name="info" id="info" vali="1">
        <p class="border-bottom s-safe-title"><strong>修改个人资料</strong>
            <span class="til" style="margin-left:10px;">档案完整度：</span>
            <span class="bar"><em style="width:45%"></em></span>
            <span class="num green">45%</span>

        </p>

        <div class="input-label">
            <label for="" class="label-text">通讯地址：</label>
			<div class="input-label-con">
            <div id='sel_location_link' class=""></div>
            <script type="text/javascript">
                var ya_config1 = {'con_id': "sel_location_link", 'step': 3, 'name1': "location_link[prov]", 'name2': "location_link[city]",
                    'name3': "location_link[town]", 'sel_value' : 0};
                ylmf_area.make_select( ya_config1 );
            </script>
			<p class="inp-addr">

				 <select name = 'privacy[link_address]' id='privacy_link_address' class='input-select' >
                    <option value='0'>所有人可见</option>
                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>
</select>
				 <input type="text" class="text" name="form[address]" id="address" value="" style="width:490px;"/>
            </p>
            
			</div>

        </div>
        <div class="input-label">
        	<select name = 'privacy[link_mobile]' id='privacy_link_mobile' class='input-select' >
                    <option value='0'>所有人可见</option>
                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>
</select>
            <label for="" class="label-text">手机号码：</label>

            <input type="text" class="text" name="form[mobile]" id="mobile" value="" />
                        
        </div>
        <div class="input-label">
        	 <select name = 'privacy[link_tel]' id='privacy_link_tel' class='input-select' >
                    <option value='0'>所有人可见</option>
                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>

</select>
            <label for="" class="label-text">固定电话：</label>
            <input type="text" class="text" name="form[tel_f]" id="tel_f" value="" style="width:44px;"/>
            <span class="s" style="margin-left:5px;">-</span>
            <input type="text" class="text" name="form[tel_l]" id="tel_l" value="" style="width:118px;" />
                       
        </div>
        <div class="input-label">
        	<select name = 'privacy[link_email]' id='privacy_link_email' class='input-select' >

                    <option value='0'>所有人可见</option>
                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>
</select>
            <label for="" class="label-text">常用邮箱：</label>
            <input type="text" class="text" name="form[pub_email]" id="pub_email" value="tang9527@gmail.com" />
                        
        </div>

        <div class="input-label" style="overflow:hidden; _zoom:1">
        	 <select name = 'privacy[link_ims]' id='privacy_link_ims' class='input-select' >
                    <option value='0'>所有人可见</option>
                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>
</select>
            <label for="" class="label-text">即时通讯：</label>

            <div style="float:left">
                        <label for="im_QQ" class="" style="float: left;width: 54px; margin-bottom: 5px;">QQ</label>
            <input id="im_QQ" value="" class="text" name="ims[QQ]" style="margin-bottom: 5px;"/><br />
                        <label for="im_MSN" class="" style="float: left;width: 54px; margin-bottom: 5px;">MSN</label>
            <input id="im_MSN" value="" class="text" name="ims[MSN]" style="margin-bottom: 5px;"/><br />
                        <label for="im_ALIWW" class="" style="float: left;width: 54px; margin-bottom: 5px;">阿里旺旺</label>
            <input id="im_ALIWW" value="" class="text" name="ims[ALIWW]" style="margin-bottom: 5px;"/><br />

                        <label for="im_SKYPE" class="" style="float: left;width: 54px; margin-bottom: 5px;">SKYPE</label>
            <input id="im_SKYPE" value="" class="text" name="ims[SKYPE]" style="margin-bottom: 5px;"/><br />
                        </div>
           

        </div>

        <div class="input-label">
        	 <select name = 'privacy[link_homepage]' id='privacy_link_homepage' class='input-select' >
                    <option value='0'>所有人可见</option>

                    <option value='1' selected='selected'>仅好友可见</option>
                    <option value='2'>仅自己可见</option>
</select>
            <label for="" class="label-text">个人网站：</label>
            <input type="text" class="text" name="form[homepage]" id="homepage" value="" />
                    </div>

        <div class="input-label">

            <label for="" class="label-text">&nbsp;</label>
            <a href="javascript:;"  onclick="$('#info').submit();" class="circle-btn circle-btn-blue"><span>确 定</span></a>
        </div>
    </form>
</div>
<script type="text/javascript">
	document.domain=window.location.host;
	$(function(){
		if(!parent.window.isFrame && parent.window.location.hash == ""){
			var href=window.location.href;
			window.location.href="<?php echo(Yii::app()->params['app']['host'])?>/index.php?r=setting/index&ac="+window.location.href.substring(href.indexOf("=")+1,href.length);
		}
	})
</script></body>
</html>
